export function testEmptySafe() {
  let user: string | null | undefined;
  console.log(user?.toUpperCase()); //正常
  console.log(user.toUpperCase()); //崩溃
}